import request from '@/utils/request'

// 查询省份列表
export function listVfProvince(query) {
  return request({
    url: '/system/vfProvince/list',
    method: 'get',
    params: query
  })
}

// 查询省份详细
export function getVfProvince(provinceId) {
  return request({
    url: '/system/vfProvince/' + provinceId,
    method: 'get'
  })
}

// 新增省份
export function addVfProvince(data) {
  return request({
    url: '/system/vfProvince',
    method: 'post',
    data: data
  })
}

// 修改省份
export function updateVfProvince(data) {
  return request({
    url: '/system/vfProvince',
    method: 'put',
    data: data
  })
}

// 删除省份
export function delVfProvince(provinceId) {
  return request({
    url: '/system/vfProvince/' + provinceId,
    method: 'delete'
  })
}
